﻿@{
    Layout = null;
}

<form id="reBillForm" method="post">
<table class="grid" width="100%" cellspacing="0" cellpadding="0">
	<!--基本信息-->
	<tbody>
    <tr>
      <td>开票日期</td>
      <td>
          <input type="hidden" id="ID" name="ID" value="" />
          <input id="BillDate" name="BillDate" type="text" class="easyui-datebox" data-options="required:true"></input>
      </td>
      <td>开票金额</td>
      <td><input type="text" id="BillMoney" name="BillMoney"  class="easyui-numberbox" data-options="required:true,min:0,precision:2,groupSeparator:',',prefix:'￥'"></td>
      <td>开票单位</td>
      <td>
          <input id="BillDepartment" name="BillDepartment" class="easyui-combobox" data-options="    
				valueField: 'ID',    
				textField: 'Name',
                required:true,
				url: '@Url.Content("~/Main/GetBillUnit")', 
				onLoadSuccess: function(rec){
					if(rec){
						$(this).combobox('setValue',rec[0].ID);
					}
				}" />
      </td>
    </tr>
</tbody>
</table>
</form>